package com.sudo.common.enums;

import org.apache.commons.lang3.text.translate.JavaUnicodeEscaper;

/**
 * @author：为道日损 2020-04-24 17:59
 */
public enum UserParams {
    //用户 token标识符
    REDIS_USER_TOKEN("redis_user_token"),
    //用户request、response的header中的参数
    HEADER_USER_ID("headerUserId"),
    HEADER_USER_TOKEN("headerUserToken"),

    //角色对应的用户
    REDIS_ROLE_USER("redis_role_user"),
    REDIS_ROLE_PERMISSION("redis_role_permission"),
    REDIS_MENU_BUTTON("redis_menu_button"),
    //用户权限
    ROLE_CODE("roleCode"),
    MENU_CODE("menuCode"),
    BUTTON_CODE("buttonCode"),

    //超级管理员Code
    SUPER_ADMIN("000000"),

    //超级用户用户名
    SUPER_NAME("superadmin"),

    SOURCE_SYSTEM("后台创建"),

    REDIS_USER_BEHAVIOR("redis_user_behavior"),

    REDIS_SYS_INFO("redis_sys_info"),
    CPU("cpu"),
    MEM("mem"),

    NONE("none");



    public String value;
    UserParams(String value) {
        this.value = value;
    }

    public static void main(String[] args) {
        System.out.println(UserParams.REDIS_USER_TOKEN);
    }
}
